package panda.transaction.recovery;

import panda.log.LogManager;
import panda.server.Panda;

public interface LogRecord {
	static final int CHECKPOINT = 0, START = 1, COMMIT = 2, ROLLBACK = 3,
			SETINT = 4, SETSTRING = 5, SETFLOAT = 6, SETLONG = 7, SETARRAY = 8;

	static final LogManager logManager = Panda.getLogManager();

	int writeToLog();

	int getType();

	int getTransactionNumber();

	void undo(int transactionNumber);
}
